<?php
class erpapi_logistics_matrix_pinjun_config extends erpapi_logistics_matrix_config{

    protected $_to_node_id = '1826146436';
    public function get_query_params($method, $params){
        $account = explode('|||',$this->__channelObj->channel['shop_id']);
        
        $query_params   = array(
            'pinjun_api_key'    =>  $account[0], #
            'pinjun_api_secret' =>  $account[1],    #
            'to_node_id'        =>  $this->_to_node_id,
            'node_type'         =>  'pinjun',
            'pay_type'          =>  $account[2],
            'settlement_account'=>  $account[3],
        );
        $pqp = parent::get_query_params($method, $params);
        $query_params = array_merge($pqp, $query_params);
        return $query_params;
    }
}